<?php
class Forum_ManagerController extends Zend_Controller_Action
{	    
	//show forums list, with short description and first author...
    public function indexAction()
	{		
    }
    
    public function addForumAction()
    {
    	$actinUrl = $this->view->url( array( 'module'=>'forum',
											 'controller'=>'manager',
											 'action'=>'add-forum')
    								);
    	
    	if($this->getRequest()->isPost()){
    		$forum = new Forum();
    		$forum->add($this->getRequest()->getPost());
    		//echo "hh";
    		//exit;							
    	}
    	
    	$addform = new AddForumForm();
    	//Zend_Dojo::enableForm($addform);
    	
    	$this->view->form = $addform;
    }
}